import request from './request'

// 车辆轨迹信息
export function getVehicleList(data) {
    return request({
      url: '/vehicle/track/list',
      method: 'post',
      data: data
    })
  }
  
  // 分页查询车辆信息列表
  export function getVehiclePage(data) {
    return request({
      url: '/vehicle/page',
      method: 'post',
      data: data
    })
  }
  
  
  // 新增单个车辆信息
  export function addVehicle(data) {
    return request({
      url: '/vehicle/add',
      method: 'post',
      data: data
    })
  }
  
  // 修改单个车辆信息
  export function editVehicle(data) {
    return request({
      url: '/vehicle/edit',
      method: 'post',
      data: data
    })
  }
  
  // 删除单个车辆信息
  export function deleteVehicle(data) {
    return request({
      url: '/vehicle/delete',
      method: 'post',
      data: data
    })
  }